package com.xiaoha.pogy.dao;

import com.xiaoha.pogy.entities.Student;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentRepository extends CrudRepository<Student, Long> {

 @Override
  List<Student> findAll();




   Student findByStudentId(long theId);
}
